@import "index";
@import "assay";
@import "component";
@import "essay";
@import "../node_modules/font-awesome/css/font-awesome.css";

$font-color: antiquewhite;

@mixin line{
  line-height: 41px;
}

a,.content-comment-length{
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
}

@mixin space{
  padding: 0;
  margin: 0;
}

@mixin btn{
  border: none;
  width: 100%;
  height: 15%;
  font-size: 17px;
  background:#0d76e1;
  color:white;
}

html,body{
  width: 100%;
  height: 100%;
  font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 13px;
  line-height: 1.7;
  word-wrap: break-word;
  color: #222;
  @include space;
}

ul{
  list-style-type:none
}

a{
  cursor: pointer;
  text-decoration:none;
  color: white;
  display: inline-block;
}

button{
  cursor: pointer;
  outline: none;
}

.head{
  &{
    height: 47px;
    background: #0661bd;
  }
  .search{
    float: left;
    margin: 8px 15px 0 15px;
    width: 300px;
    padding: 8px;
    border-radius: 5px;
    border: none;
    outline:none;
  }
  .quiz{
    padding: 5px 16px;
    font-size: 15px;
    margin: 8px 2% 8px 10%;
    background-color: #0d76e1;
    color: white;
    border: 1px solid #0661bd;
    border-radius: 5px;
    outline: none;
  }
  .top-login,.top-regist,.top-divide{
    color:$font-color;
    font-size: 14px;
  }
  .top-login:hover{
    color:white;
  }
  .top-regist:hover{
    color:white;
  }
}

.head-nav{
  &{
    @include space;
    @include line;
    height:100%;
    display: inline-block;
    line-height: 46px;
    float: left;
  }
  li{
    list-style-type:none;
    float:left;
  }
  a{
    padding: 0 12px;
    color: $font-color;
  }
  a:hover{
    color: white;
  }
  .home{
    background: #061dbd;
  }
}

.h1{
  line-height: 50px;
  font-size: 26px;
  margin-left: 24%;
  float: left;
}

.login-box {
  &{
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .user-back{
    @include btn;
    width: 49%;
  }
}

.user-login{
  &{
    height: 245px;
    width: 300px;
    padding: 0 30px;
    border: 1px solid #C0C0C0;
  }
  .password,.username{
    font-size: 19px;
    width: 65%;
  }
  p{
    font-size: 21px;
    font-weight: 600;
    color: #3c3c3c;
  }
  label{
    width: 20%;
    font-size: 22px;
  }
  .submit{
    @include btn;
  }
}

.content{
  width: 960px;
  height:100%;
  margin: 0 auto;
}


//公共属性



